home *** CD-ROM | disk | FTP | other *** search
/ Software Explosion / Software Explosion (Fore-Matt Home Computing)(1996).iso / games / workbench / lander_2 / source / conv8svx.c < prev    next >
C/C++ Source or Header  |  1996-01-01  |  345b  |  26 lines

  1. /* load8test - test load8svx */
  2.  
  3. #include <exec/types.h>
  4. #include <stdio.h>
  5.  
  6. extern int svx_to_c();
  7.  
  8. main(argc,argv)
  9. int argc;
  10. char *argv[];
  11. {
  12.     if (argc != 3)
  13.     {
  14.         fputs("usage: conv8svx infile outfile\n",stderr);
  15.         exit(-1);
  16.     }
  17.  
  18.     if (svx_to_c(argv[1],argv[2]) < 0)
  19.     {
  20.         fputs("looks like svx_to_c failed\n",stderr);
  21.         exit(-2);
  22.     }
  23.  
  24.     exit(0);
  25. }
  26.